<?php
// 事件定义文件
return [
    'bind'      => [
    ],

    'listen'    => [
        'AppInit'  => [],
        'HttpRun'  => [],
        'HttpEnd'  => [],
        'LogLevel' => [],
        'LogWrite' => [],
        'swoole.init' => [
            \app\services\SwooleInit::class, //初始化
        ],
        'swoole.beforeWorkerStop' => [
            \app\services\SwooleBeforeWorkerStop::class, //初始化
        ],
        'swoole.workerStart' => [
            \app\services\SwooleWorkerStart::class, //初始化
        ],


    ],

    'subscribe' => [
    ],
];
